package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastGoodsSellType implements Serializable {
    private Integer id;

    private Integer businessid;

    private String businessname;

    private String content;

    private Date createtime;

    private String imgpath;

    private String name;

    private Integer agentid;

    private String agentname;

    private Integer sort;

    private Integer deleted;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastGoodsSellType withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastGoodsSellType withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastGoodsSellType withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public String getContent() {
        return content;
    }

    public RunfastGoodsSellType withContent(String content) {
        this.setContent(content);
        return this;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastGoodsSellType withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getImgpath() {
        return imgpath;
    }

    public RunfastGoodsSellType withImgpath(String imgpath) {
        this.setImgpath(imgpath);
        return this;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath == null ? null : imgpath.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastGoodsSellType withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastGoodsSellType withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastGoodsSellType withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public RunfastGoodsSellType withSort(Integer sort) {
        this.setSort(sort);
        return this;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public RunfastGoodsSellType withDeleted(Integer deleted) {
        this.setDeleted(deleted);
        return this;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", content=").append(content);
        sb.append(", createtime=").append(createtime);
        sb.append(", imgpath=").append(imgpath);
        sb.append(", name=").append(name);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", sort=").append(sort);
        sb.append(", deleted=").append(deleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}